﻿@using Controllers
@{
    var func=new MyFunc();
}
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
@Html.Partial("_top")
</head>
<body>
@Html.Partial("_header")
<div id="cbanner" style="background:url('@ViewBag.model.cbanner') no-repeat center top;height:380px;width:100%;"></div>
<div class="position"><div class="box">您的当前位置：@Html.Raw(ViewBag.model.cur)</div></div>

<div class="sidebar box">
@Html.Partial("_left")
<script type="text/javascript">
$(function(){
	$("#cplb dl").each(function(){
	if($(this).attr("data-id")==@ViewBag.model.classid){
		$(this).addClass("on");
	}
	})
})
</script>
  <div class="sb_box">
    <h3 class="title">@ViewBag.model.title</h3>
    <div class="editor" id="product">
    @Html.Raw(ViewBag.model.info["model"].content)
      <div class="clear"></div>
    </div>
					
		<script language="JavaScript">
		function doZoom(size){$("#productshow").css("font-size",size+'px')}
		</script>		
			<div class="prvnext">
<div class="prv">
@{var prev=func.GetOne(ViewBag.model.ID,"prev",ViewBag.model.classid);}
上一篇：
@if(prev.ID>0){
<a href="/article/@prev.ID" title="@prev.title">@prev.title</a>
}
else{
<span>没有了</span>
}
</div>
<div class="next">
@{var next=func.GetOne(ViewBag.model.ID,"next",ViewBag.model.classid);}
下一篇：
@if(next.ID>0){
<a href="/article/@next.ID" title="@next.title">@next.title</a>
}
else{
<span>没有了</span>
}</div>
</div>	
  </div>
  <div class="clear"></div>
</div>

		<div id="footer">
			<div class="box">@Html.Raw(ViewBag.model.copyright)</div>
		</div>
	<script type="text/javascript" src="@ViewBag.model.skin/js/foot.js"></script>

</body>
</html>